package com.yc.yyds.biz;

import com.yc.yyds.dao.GuangGaoDao;

import java.util.List;
import java.util.Map;

public class GuangGaoBiz {
    GuangGaoDao dao = new GuangGaoDao();

    public List<Map<String, Object>> query(String area) throws BizException {
        try {
           return dao.query(area);
        }catch (Exception e){
            throw new BizException("广告加载失败");
        }
    }
}
